package com.example.demo.dto;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class PostDTO {
    private Long postId;
    private Long userId;
    private String nickname;
    private String avatar;
    private String content;
    private List<String> mediaUrls;
    private String location;
    private LocalDateTime createdAt;
    private Integer likeCount;
    private Integer commentCount;
    private Boolean isLiked;
    private String timeAgo; // 多久之前发布
} 